interface output{
	void display();
}
class Announce implements output{
	String s;
	public void display() {
		System.out.println(s);
	}
	public Announce(String x) {
		s=x;
	}
}
class Car implements output{
	String s;
	public void display() {
		System.out.println(Float.parseFloat(s)+"L");
	}
	public Car(String x) {
		s=x;
	}
}
class Advertising implements output{
	String s;
	public void display() {
		System.out.println(s);
	}
	public Advertising(String x) {
		s=x;
	}
}
public class Main {
	public static void main(String[] args) {
		output announce=new Announce("通知内容");
		output car=new Car("12");
		output advertising=new  Advertising("广告消息");
		announce.display();
		car.display();
		advertising.display();
	}
}